package com.landimc.sms.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Yang
 * @version 1.0
 * @date 2020/10/26 14:24
 */
@Configuration
public class RabbitConfig {

    @Bean
    public Queue createAliYunQueue() {
        return new Queue("aliyun_sms_queue", false, false, true, null);
    }

}
